#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QLayout>
#include <QListWidget>
#include <QPushButton>
#include <QStackedWidget>
#include <QStatusBar>
#include <QTimer>
#include <QLabel>
#include <QLineEdit>
#include <QDockWidget>

#include "console.h"
#include "communicator.h"
#include "servlistwidget.h"
#include "lobbyWidget.h"
#include "sfmlWindow.h"

class MainWindow : public QMainWindow
{
    Q_OBJECT

    ServListWidget* servList;
    LobbyWidget*    lobby;
    Communicator*   communicator;
    QStackedWidget* stackW;
    SFMLWindow*     game;
    QWidget*        gameWidget;
    QPushButton*    exitGame;

public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();

public slots:
    void setLobby();
    void setMainmenu();
    void startGame();

};

#endif // MAINWINDOW_H
